package cn.iocoder.yudao.module.biz.controller.admin.htPlanExe.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Data
public class HtPlanExeJoinPageVO {
    @ApiModelProperty(value = "计划主键")
    private String id;

    @ApiModelProperty(value = "计划执行主键")
    private String planExeId;

    @ApiModelProperty(value = "计划详情主键")
    private String planDetailId;

    @ApiModelProperty(value = "计划名称")
    private String planName;

    @ApiModelProperty(value = "隐患类别 0:生产现场类，1：基础管理类")
    private String htCategory;

    @ApiModelProperty(value = "排查周期 1:1日一次，2：一周一次，3：一月一次，4:6月一次，5:12月一次")
    private String checkPeriod;

    @ApiModelProperty(value = "组织级别，1：岗位级，2:班组级，3：部门级...")
    private String orgLevel;

    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd 00:00:00")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd 00:00:00")
    private Date endTime;

    @ApiModelProperty(value = "排查类型")
    private String checkType;

    @ApiModelProperty(value = "排查属性")
    private String checkProperty;

//    @ApiModelProperty(value = "排查人id")
//    private Long checkPeoId;

    @ApiModelProperty(value = "排查人")
    private String checkPeo;

    @ApiModelProperty(value = "计划执行状态 0：待执行，1：已执行")
    private String exeState;

    //应排查记录条数
    @ApiModelProperty(value = "应排查记录")
    private Long sRecordNums;

    //已排查记录条数
    @ApiModelProperty(value = "已排查记录")
    private Long yRecordNums;

    //隐患信息条数
    @ApiModelProperty(value = "隐患信息")
    private Long tRecordNums;
}
